<extend name="Base/common"/>
<block name="style">
     <link href="__CSS__/jxgl.css" type="text/css" rel="stylesheet">
</block>
<block name="header">
    <include file="Public/_nav"/>
</block>
<block name="body">

      <!--   <include file="Public/_hot_sell"/> -->
        <!-- 左侧菜start -->
        <div class="col-xs-2">
             <div class="common_block_border">                
                <div class="content ">
                <include file="Public/sidebar"  />
                </div>
            </div>
        </div>
        <!-- 左侧菜end -->

        <!-- 右侧内容开始 -->
        <div class="col-xs-10">
        <div class="common_block_border">
        <ul class="nav nav-tabs">
          <li><a href="{:U('Xshj/index')}">学生获奖登记</a></li>
          <li><a href="{:U('Xshj/hjhz')}">学生获奖情况汇总</a></li>
          <if condition="check_auth('Admin/Index/index')"><li  class="active"><a href="{:U('Xshj/cate')}">获奖等级设置</a></li></if>
        </ul>
        <div class="tab-content">
          <!-- 查询表单start -->
                <div class="right_box">
                <legend>教学管理 : <span style="color:#CC4444"> 学生获奖等级设置</span></legend>
                </div>
                <!-- 查询表单end -->
       <!-- 数据表格start -->
             <div class="right_box">
              <table class="table table-bordered">
                <thead>
                  <tr>
                    <th class="text-center">#</th>
                    <th class="text-center">获奖等级</th>
                    <th class="text-center">奖励金额</th>
                    <th class="text-center">排序</th>
                    <th class="text-center">登记日期</th>
                    <th class="text-center">操作</th>
                  </tr>
                </thead>
                <tbody>
                <volist name='list' id='vo'>
                  <tr>
                    <td align="center">{$i}</td>
                    <td align="center">{$vo.dj}</td>
                    <td align="center">                   
                    <span style="color:red"> {$vo.je}</span>                
                    </td>
                    <td align="center">{$vo.sort}</td>
                   
                   
                    <td align="center">{$vo.create_time|date="Y-m-d",###}</td>
                    <td align="center"><a href="{:U('Xshj/edit?id='.$vo['id'])}" >编辑</a>｜
                    <a href= "{:U('Xshj/deletecate?id='.$vo['id'])}" >删除</a></td>
                  </tr>
                  </volist>
                 <tr>
                <form method='post' id="form1" name="form1"  action="{:U('Xshj/Cate')}" class="form-horizontal form-condensed">
                <td class="text-center">#</td>
                <td align="center" >
                  <input type="text" class="form-control" name="dj" value="" style="width:150px"> 
                </td>
                <td align="center">
                  <input type="text" class="form-control" name="je" value="" style="width:80px"> 
                 </td>
                <td align="center">
                  <input type="text" class="form-control" name="sort" value="" style="width:80px">
                 </td>
                <td class="text-center">{:date('Y-m-d',time())} </td>
                <td> <input id="submit" class="btn btn-block btn-primary" value="新增" data-loading="稍候..." type="submit"> 
                <!-- <input name="status" id="status" value="1" type="hidden"> -->
                 </td>
                </form>
                  
                </tr>
                </tbody>
              </table>
              </div> 
               <!-- 数据表格end -->
         <div class="clearfix"> </div>
        </div>
        </div>
    </div>
  <!-- 右侧内容结束 -->  
 

   
</block>
